#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPixmap>



namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    //void paintEvent(QPaintEvent *);
    void fore_adjust_color_RGB_gain(void);

private slots:
    void on_pushButtonReadFile_clicked();
    void on_pushButtonDraw_clicked();
    void on_horizontalSlider_actionTriggered(int action);
    void on_horizontalSlider_bright_actionTriggered(int action);
    void on_pushButton_resetRGB_clicked();
    void on_horizontalSlider_Rgain_valueChanged(int value);
    void on_horizontalSlider_Ggain_valueChanged(int value);
    void on_horizontalSlider_Bgain_valueChanged(int value);

private:
    Ui::MainWindow *ui;
    QPixmap *pPixmap;
};

#endif // MAINWINDOW_H
